# -*- coding:utf-8 -*-
# @FileName :StepModel.py
# @Created  :2025/1/11
# @Author   :天空之城

from pydantic import BaseModel as BaseBean, Field
from typing import Optional


class StepModel(BaseBean):
    """
    该函数是为了规范每个步骤只允许有以下参数
    action, content, desc
    """
    action: Optional[str] = Field(None, alias='action', description="操作类型")
    content: Optional[str] = Field(None, alias='content', description="操作内容")
    desc: Optional[str] = Field(None, alias='desc', description="操作描述")
